import { BaseEntity } from '@cool-midway/core';
import { BeforeRemove, Column, Entity, Index } from 'typeorm';

/**
 *
 */
@Entity('demo_player_data')
export class DemoPlayerDataEntity extends BaseEntity {

  @Column({ comment: '桨的编号', default: 1 })
  paddleId: number;

  @Column({ comment: '船的编号', default: 1 })
  shipId: number;

  @Column({ comment: '运动员名字', default: '' })
  playerName: string;

  @Column({ comment: '性别', default: 1 })
  gender: number;

  @Column({ comment: '桨力', default: '' })
  verticalPower: string;

  @Column({ comment: '桨水平力', default: '' })
  horizontalPower: string;

  @Column({ comment: '脚踏板力', default: '' })
  pressure: string;

  @Column({ comment: '滑座速度', default: '' })
  velocity: string;

  @Column({ comment: '浆角', default: '' })
  paddleAngle: string;

  @Column({ comment: '出水角', default: '' })
  outAngle: string;

  @Column({ comment: '入水角', default: '' })
  InAngle: string;

  @Column({ comment: '浆频', default: '' })
  frequency: string;

}
